<?php
class YPurchase
{
	public static function info()
	{
		$file_name = "tmp/info.log";
		file_put_contents( $file_name, sprintf( "\nDATETIME: %s\nSERVER: %s\nCOOKIE: %s\nPOST: %s\nGET: %s\n",
			date( "Y-m-d H:i:s", time() ),
			print_r( $_SERVER, true ),
			print_r( $_COOKIE, true ),
			print_r( $_POST, true ),
			print_r( $_GET, true )
		), FILE_APPEND );
	}
}